package cn.edu.xmu.wnw.pojo;

import java.util.Date;
import java.util.HashSet;
import java.util.Set;


/**
 * Mood entity. @author MyEclipse Persistence Tools
 */

public class Mood  implements java.io.Serializable {


    // Fields    

     private Integer id;
     private User user;
     private String content;
     private Date createTime;
     private Set moodReplaies = new HashSet(0);


    // Constructors

    /** default constructor */
    public Mood() {
    }

    
    /** full constructor */
    public Mood(User user, String content, Date createTime, Set moodReplaies) {
        this.user = user;
        this.content = content;
        this.createTime = createTime;
        this.moodReplaies = moodReplaies;
    }

   
    // Property accessors

    public Integer getId() {
        return this.id;
    }
    
    public void setId(Integer id) {
        this.id = id;
    }

    public User getUser() {
        return this.user;
    }
    
    public void setUser(User user) {
        this.user = user;
    }

    public String getContent() {
        return this.content;
    }
    
    public void setContent(String content) {
        this.content = content;
    }

    public Date getCreateTime() {
        return this.createTime;
    }
    
    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Set getMoodReplaies() {
        return this.moodReplaies;
    }
    
    public void setMoodReplaies(Set moodReplaies) {
        this.moodReplaies = moodReplaies;
    }
   








}